package com.wanda.dao;

import java.util.List;

import com.wanda.model.PurposeModel;

public interface PurposeDAO {

	public void insertPurpose(PurposeModel model);//添加用途
	public int updatePurpose(PurposeModel model);//修改用途
	public int deletePurpose(PurposeModel model);//删除用途
	public PurposeModel selectById(String id);//查询某条用途
	public List<PurposeModel> selectAll();//查询所有用途
	public List<PurposeModel> selectAllByName(String id);
}
